import Vue from 'vue'
import App from './App.vue'
import "amfe-flexible"
import router from './router'
import api from "./utils/api";
import util from "./utils/util";
import commin from "./utils/commin";
import VueLazyload from "vue-lazyload";
import VideoPlayer from 'vue-video-player';

// import Vconsole from "vconsole";
// const vConsole = new Vconsole();

// 将方法绑定到全局
Vue.prototype.$api = api
Vue.prototype.$util = util
Vue.prototype.$commin = commin;
Vue.prototype.$PopupShow = false;

Vue.config.productionTip = false;
Vue.use(VueLazyload);
Vue.use(VideoPlayer)
new Vue({
  router,
  mounted(){
    window.Vue = this;
    // console.log(this;)
  },
  render: h => h(App)
}).$mount('#app')


// export default vConsole;